Optimal. Leaf size=197 \[ -\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}+\frac {b c \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{1225 x^4 \sqrt {c^2 x^2}}+\frac {b c d \sqrt {c^2 x^2-1}}{49 x^6 \sqrt {c^2 x^2}}+\frac {8 b c^5 \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{3675 \sqrt {c^2 x^2}}+\frac {4 b c^3 \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{3675 x^2 \sqrt {c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 197, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {14, 5238, 12, 453, 271, 264} \[ -\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}+\frac {8 b c^5 \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{3675 \sqrt {c^2 x^2}}+\frac {4 b c^3 \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{3675 x^2 \sqrt {c^2 x^2}}+\frac {b c \sqrt {c^2 x^2-1} \left (30 c^2 d+49 e\right )}{1225 x^4 \sqrt {c^2 x^2}}+\frac {b c d \sqrt {c^2 x^2-1}}{49 x^6 \sqrt {c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 264
Rule 271
Rule 453
Rule 5238
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right )}{x^8} \, dx &=-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}-\frac {(b c x) \int \frac {-5 d-7 e x^2}{35 x^8 \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}}\\ &=-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}-\frac {(b c x) \int \frac {-5 d-7 e x^2}{x^8 \sqrt {-1+c^2 x^2}} \, dx}{35 \sqrt {c^2 x^2}}\\ &=\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}-\frac {\left (b c \left (-30 c^2 d-49 e\right ) x\right ) \int \frac {1}{x^6 \sqrt {-1+c^2 x^2}} \, dx}{245 \sqrt {c^2 x^2}}\\ &=\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}+\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}-\frac {\left (4 b c^3 \left (-30 c^2 d-49 e\right ) x\right ) \int \frac {1}{x^4 \sqrt {-1+c^2 x^2}} \, dx}{1225 \sqrt {c^2 x^2}}\\ &=\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}+\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}+\frac {4 b c^3 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 x^2 \sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}-\frac {\left (8 b c^5 \left (-30 c^2 d-49 e\right ) x\right ) \int \frac {1}{x^2 \sqrt {-1+c^2 x^2}} \, dx}{3675 \sqrt {c^2 x^2}}\\ &=\frac {8 b c^5 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 \sqrt {c^2 x^2}}+\frac {b c d \sqrt {-1+c^2 x^2}}{49 x^6 \sqrt {c^2 x^2}}+\frac {b c \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{1225 x^4 \sqrt {c^2 x^2}}+\frac {4 b c^3 \left (30 c^2 d+49 e\right ) \sqrt {-1+c^2 x^2}}{3675 x^2 \sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{7 x^7}-\frac {e \left (a+b \sec ^{-1}(c x)\right )}{5 x^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 110, normalized size = 0.56 \[ \frac {-105 a \left (5 d+7 e x^2\right )+b c x \sqrt {1-\frac {1}{c^2 x^2}} \left (49 e x^2 \left (8 c^4 x^4+4 c^2 x^2+3\right )+15 d \left (16 c^6 x^6+8 c^4 x^4+6 c^2 x^2+5\right )\right )-105 b \sec ^{-1}(c x) \left (5 d+7 e x^2\right )}{3675 x^7} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.49, size = 110, normalized size = 0.56 \[ -\frac {735 \, a e x^{2} + 525 \, a d + 105 \, {\left (7 \, b e x^{2} + 5 \, b d\right )} \operatorname {arcsec}\left (c x\right ) - {\left (8 \, {\left (30 \, b c^{6} d + 49 \, b c^{4} e\right )} x^{6} + 4 \, {\left (30 \, b c^{4} d + 49 \, b c^{2} e\right )} x^{4} + 3 \, {\left (30 \, b c^{2} d + 49 \, b e\right )} x^{2} + 75 \, b d\right )} \sqrt {c^{2} x^{2} - 1}}{3675 \, x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 207, normalized size = 1.05 \[ \frac {1}{3675} \, {\left (240 \, b c^{6} d \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 392 \, b c^{4} \sqrt {-\frac {1}{c^{2} x^{2}} + 1} e + \frac {120 \, b c^{4} d \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{x^{2}} + \frac {196 \, b c^{2} \sqrt {-\frac {1}{c^{2} x^{2}} + 1} e}{x^{2}} + \frac {90 \, b c^{2} d \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{x^{4}} + \frac {147 \, b \sqrt {-\frac {1}{c^{2} x^{2}} + 1} e}{x^{4}} - \frac {735 \, b \arccos \left (\frac {1}{c x}\right ) e}{c x^{5}} + \frac {75 \, b d \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{x^{6}} - \frac {735 \, a e}{c x^{5}} - \frac {525 \, b d \arccos \left (\frac {1}{c x}\right )}{c x^{7}} - \frac {525 \, a d}{c x^{7}}\right )} c \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 158, normalized size = 0.80 \[ c^{7} \left (\frac {a \left (-\frac {d}{7 c^{5} x^{7}}-\frac {e}{5 c^{5} x^{5}}\right )}{c^{2}}+\frac {b \left (-\frac {\mathrm {arcsec}\left (c x \right ) d}{7 c^{5} x^{7}}-\frac {\mathrm {arcsec}\left (c x \right ) e}{5 c^{5} x^{5}}+\frac {\left (c^{2} x^{2}-1\right ) \left (240 c^{8} d \,x^{6}+392 e \,c^{6} x^{6}+120 x^{4} c^{6} d +196 c^{4} e \,x^{4}+90 c^{4} d \,x^{2}+147 c^{2} e \,x^{2}+75 c^{2} d \right )}{3675 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c^{8} x^{8}}\right )}{c^{2}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 172, normalized size = 0.87 \[ -\frac {1}{245} \, b d {\left (\frac {5 \, c^{8} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {7}{2}} - 21 \, c^{8} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {5}{2}} + 35 \, c^{8} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} - 35 \, c^{8} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c} + \frac {35 \, \operatorname {arcsec}\left (c x\right )}{x^{7}}\right )} + \frac {1}{75} \, b e {\left (\frac {3 \, c^{6} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {5}{2}} - 10 \, c^{6} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} + 15 \, c^{6} \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c} - \frac {15 \, \operatorname {arcsec}\left (c x\right )}{x^{5}}\right )} - \frac {a e}{5 \, x^{5}} - \frac {a d}{7 \, x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (e\,x^2+d\right )\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}{x^8} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 55.10, size = 371, normalized size = 1.88 \[ - \frac {a d}{7 x^{7}} - \frac {a e}{5 x^{5}} - \frac {b d \operatorname {asec}{\left (c x \right )}}{7 x^{7}} - \frac {b e \operatorname {asec}{\left (c x \right )}}{5 x^{5}} + \frac {b d \left (\begin {cases} \frac {16 c^{7} \sqrt {c^{2} x^{2} - 1}}{35 x} + \frac {8 c^{5} \sqrt {c^{2} x^{2} - 1}}{35 x^{3}} + \frac {6 c^{3} \sqrt {c^{2} x^{2} - 1}}{35 x^{5}} + \frac {c \sqrt {c^{2} x^{2} - 1}}{7 x^{7}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\\frac {16 i c^{7} \sqrt {- c^{2} x^{2} + 1}}{35 x} + \frac {8 i c^{5} \sqrt {- c^{2} x^{2} + 1}}{35 x^{3}} + \frac {6 i c^{3} \sqrt {- c^{2} x^{2} + 1}}{35 x^{5}} + \frac {i c \sqrt {- c^{2} x^{2} + 1}}{7 x^{7}} & \text {otherwise} \end {cases}\right )}{7 c} + \frac {b e \left (\begin {cases} \frac {8 c^{5} \sqrt {c^{2} x^{2} - 1}}{15 x} + \frac {4 c^{3} \sqrt {c^{2} x^{2} - 1}}{15 x^{3}} + \frac {c \sqrt {c^{2} x^{2} - 1}}{5 x^{5}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\\frac {8 i c^{5} \sqrt {- c^{2} x^{2} + 1}}{15 x} + \frac {4 i c^{3} \sqrt {- c^{2} x^{2} + 1}}{15 x^{3}} + \frac {i c \sqrt {- c^{2} x^{2} + 1}}{5 x^{5}} & \text {otherwise} \end {cases}\right )}{5 c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________